#include "receiverthread.h"
#include <QDebug>

ReceiverThread::ReceiverThread(QObject *parent)
    : QThread(parent)
{

}


ReceiverThread::~ReceiverThread()
{

}

void ReceiverThread::run()
{
    qDebug() << "Recevier Thread is running ...";
    qDebug() << "Receiver Thread id: " << QThread::currentThreadId();
    QThread::exec();
}

void ReceiverThread::receMsg(const QString &msg)
{
    qDebug() << "Received: " << msg;
}

